Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: java https
~Nita Desgeroburings 22.May.03 08:16 PM a Web browser
Applications Development 6.0 All Platforms


Hi, I am glad to see in this thread, that I should be able to use https in java if I add
the extensions and make the policy change.

However, I am having a few problems getting it to work.

My code:

System.getProperties().put("java.protocol.handler.pkgs", "HTTPClient");

URL url = new URL("https.something.com");
URLConnection connection = url.openConnection();

I added the line System.getProperties because I
was getting a "Malformed URL protocol not supported" error.

I added the 3 jar files:
jcert.jar
jnet.jar
jsse.jar
to my jvm\lib\ext directory

And implemented the policy change as indicated in this thread.

Currently I am getting error messages like this:

error: java.lang.SecurityException
error: at java.lang.System.getProperties(System.java:522)
error: at JavaAgent.NotesMain(JavaAgent.java.21)

Line 21 is the System.getProperties line
which I wrote at the top of this message.

Anyway, I would be very grateful for any further
information how to get a URL call to work in
java with https.

Thank you,

Josephine




java https (~Miriam Prenuvi... 6.Oct.02)
. . RE: java https (~Howard Destumi... 7.Oct.02)
. . . . RE: java https (~Helga Asaboosi... 22.Apr.03)
. . . . . . RE: java https (~Sigmund Minres... 20.May.03)
. . . . . . . . RE: java https (~Nita Desgerobu... 22.May.03)
. . . . . . . . . . RE: java https (~Nita Desgerobu... 27.May.03)
. . . . . . . . . . . . RE: java https (~Emile Brevelut... 20.Nov.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS